package com.zhilianbao.leyaogo.model.response.shoppingcart;

import java.util.List;

/**
 * Author: hcy
 * Description:订单验证
 * Created: 2016/12/9 17:53
 */
public class ValidateOrder {
    private long orderId;// (integer, optional): 主键 订单主键 ,
    private int associatedOrid;// (integer, optional): 关联订单号 0 无 目前用于充值订单后赠送商品的赠送订单使用 ,
    private String orderNo;// (string, optional): 订单号码 ,
    private int orderType;// (integer, optional): 订单类型 0 普通订单 1 虚拟订单 2 充值订单 3 赠送订单 4 团购订单 ,
    private long supplierId;// (integer, optional): 所属运营商编号 ,
    private long shopId;// (integer, optional): 卖家店铺编号 ,
    private long userId;// (integer, optional): 买家用户编号 ,
    private double totalPrice;// (number, optional): 订单明细金额 item中 AmountPrice和 ,
    private double activityPrice;// (number, optional): 活动金额 ,
    private double couponsPrice;// (number, optional): 优惠卷金额 ,
    private double postPrice;// (number, optional): 邮费 ,
    private double rechargeCardPrice;// (number, optional): 卡抵扣金额 ,
    private double totalCouponsPrice;// (number, optional): 总优惠金额 CouponsPrice+ActivityPrice ,
    private double amountPrice;// (number, optional): 订单实际金额 TotalPrice-CouponsPrice-ActivityPrice-PostPrice ,
    private double paymentPrice;// (number, optional): 订单支付金额 PaymentPrice=AmountPrice-RechargeCardPrice ,
    private int isBack;// (integer, optional): 是否退订 0 无 1 有 ,
    private int payStatus;// (integer, optional): 支付状态 0 未支付 1 已支付 2支付异常 ,
    private int orderCode;// (integer, optional): 订单状态 1 待确认 2 已确认 3 未支付 4 已支付 5 已发货 6 已完成 99 已取消 ,
    private String comments;// (string, optional): 备注
    private List<OrderItem> orderItem;

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public int getAssociatedOrid() {
        return associatedOrid;
    }

    public void setAssociatedOrid(int associatedOrid) {
        this.associatedOrid = associatedOrid;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(long supplierId) {
        this.supplierId = supplierId;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public double getActivityPrice() {
        return activityPrice;
    }

    public void setActivityPrice(double activityPrice) {
        this.activityPrice = activityPrice;
    }

    public double getCouponsPrice() {
        return couponsPrice;
    }

    public void setCouponsPrice(double couponsPrice) {
        this.couponsPrice = couponsPrice;
    }

    public double getPostPrice() {
        return postPrice;
    }

    public void setPostPrice(double postPrice) {
        this.postPrice = postPrice;
    }

    public double getRechargeCardPrice() {
        return rechargeCardPrice;
    }

    public void setRechargeCardPrice(double rechargeCardPrice) {
        this.rechargeCardPrice = rechargeCardPrice;
    }

    public double getTotalCouponsPrice() {
        return totalCouponsPrice;
    }

    public void setTotalCouponsPrice(double totalCouponsPrice) {
        this.totalCouponsPrice = totalCouponsPrice;
    }

    public double getAmountPrice() {
        return amountPrice;
    }

    public void setAmountPrice(double amountPrice) {
        this.amountPrice = amountPrice;
    }

    public double getPaymentPrice() {
        return paymentPrice;
    }

    public void setPaymentPrice(double paymentPrice) {
        this.paymentPrice = paymentPrice;
    }

    public int getIsBack() {
        return isBack;
    }

    public void setIsBack(int isBack) {
        this.isBack = isBack;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public int getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(int orderCode) {
        this.orderCode = orderCode;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public List<OrderItem> getOrderItem() {
        return orderItem;
    }

    public void setOrderItem(List<OrderItem> orderItem) {
        this.orderItem = orderItem;
    }
}
